package com.shangqing.system.droughtinformation.mapper;

import com.shangqing.system.droughtinformation.entity.Droughtinformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper()
public interface DroughtInformationMapper {
    @Select(" select * from drought_all_infomation order by timeofoccurrence desc")
    List<Droughtinformation> selectAll();
}
